package aaa;

public class test {
    public static void main(String[] args) {
        Drink drink = new DouJiang();
        heidou heidou = new heidou(drink);
        dan dan = new dan(heidou);
        tang tang = new tang(dan);
        System.out.println(tang.price());
        System.out.println(tang.type());
    }
}
